package com.eve.mapper;

import com.eve.entity.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

@Component
public interface UserMapper {
    //查询用户名和密码
    User findByUsernameAndPassword(@Param("username")String username,@Param("password") String password);
}
